﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="DeliveryOrderQuery.aspx.cs" Inherits="WMS6.Web.TransportManagement.DeliveryOrderQuery" meta:resourcekey="Page" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>DeliveryOrderQuery</title>
   <link href="../style/zh/1/css.css" type="text/css" rel="Stylesheet" id="mycss" />
    <link href="../Css/style.css" type="text/css" rel="stylesheet" />
    <script src="../Js/jquery.js" type="text/javascript"></script>
    <script src="../Js/jquery.simplemodal.js" type="text/javascript"></script>
    <script src="../Js/util.js" id="js" type="text/javascript"></script>
    <script src="../Js/InitPage.js" type="text/javascript"></script>    
    <base target="_self" /> 
    <script type="text/javascript">
       
        //初始化页面
        window.onload = function(){
            var actionID = window.dialogArguments;
            if(actionID != "" && actionID != null)
            {
                document.getElementById("hdnActionID").value = actionID;
                var array = actionID.split(',');
                initQueryPage(array[0],array[1]);
            }
            else
            {
                initQueryPage();
            }
        }
        
        //弹出窗口选择出发地
        function selectLocAddr()
        {
            var rtnValue = popModalWindow('../Configuration/LocAddrQuery.aspx?action=txtDeparture','dialogWidth=800px;dialogHeight=500px;center=yes;resizable=yes;status=no;');
            if(rtnValue != null && rtnValue.toString() != "")
            {
                document.getElementById("txtDeparture").focus();
                document.getElementById("txtDeparture").value = rtnValue;
            }
        }
        
        
        //弹出窗口选择送货地址
        function selectLocAddr2()
        {
            var rtnValue = popModalWindow('../Configuration/LocAddrQuery.aspx?action=txtDestination','dialogWidth=800px;dialogHeight=500px;center=yes;resizable=yes;status=no;');
            if(rtnValue != null && rtnValue.toString() != "")
            {
                document.getElementById("txtDestination").focus();
                document.getElementById("txtDestination").value = rtnValue;
            }
        }
        
        //窗口大小改变时触发的事件
        window.onresize = function()
	    {
	        autoResizeQueryDiv("div_query");
	    }
    </script>
</head>
<body>
    <form id="F8010" runat="server">
    <div>
        <asp:ScriptManager ID="ScriptManager1" runat="server" />
        
        <div id="div_menu">
                 <div style="float: left; width: 8px;">
                    <div class="tabL"></div>
                </div>
                <div class="tabLabelCont tabCur">
                    <asp:Label ID="lblBu" runat="server" Text="运单" CssClass="hover" 
                        meta:resourcekey="lblBu"></asp:Label>
                </div>
                <div style="float: left">
                    <div class="tabR"></div>
                </div>
         </div>
         
         <div id="div_query">
            <table width="360" cellpadding="0" cellspacing="0">
                 <tr>
                         <td>
                            <asp:Label CssClass="label" ID="lblDeliveryOrderID" runat="server" Text="运单号" 
                                 meta:resourcekey="lblDeliveryOrderID"></asp:Label>
                        </td>
                          <td>
                            &nbsp;
                        </td>
                        <td>
                             &nbsp;
                        </td>
                 </tr>
                 <tr>
                    <td><asp:TextBox ID="txtDeliveryOrderID" CssClass="textbox" runat="server" 
                            MaxLength="20" meta:resourcekey="txtDeliveryOrderID"></asp:TextBox></td>
                    <td>&nbsp;</td>
                    <td><asp:DropDownList ID="ddlDeliveryOrderID" CssClass="selectbox" runat="server" 
                            meta:resourcekey="ddlDeliveryOrderID"></asp:DropDownList></td>
                 </tr>
                 
                 <tr>
                         <td>
                            <asp:Label CssClass="label" ID="lblExternOrderID" runat="server" Text="订单号" 
                                 meta:resourcekey="lblExternOrderID"></asp:Label>
                        </td>
                          <td>
                            &nbsp;
                        </td>
                        <td>
                             &nbsp;
                        </td>
                 </tr>
                 <tr>
                    <td><asp:TextBox ID="txtExternOrderID" CssClass="textbox" runat="server" 
                            MaxLength="20" meta:resourcekey="txtExternOrderID"></asp:TextBox></td>
                    <td>&nbsp;</td>
                    <td><asp:DropDownList ID="ddlExternOrderID" CssClass="selectbox" runat="server" 
                            meta:resourcekey="ddlExternOrderID"></asp:DropDownList></td>
                 </tr>
                 
                  <tr>
                         <td>
                            <asp:Label CssClass="label" ID="lblOwnerID" runat="server" Text="货主" 
                                 meta:resourcekey="lblOwnerID"></asp:Label>
                        </td>
                          <td>
                            &nbsp;
                        </td>
                        <td>
                             &nbsp;
                        </td>
                 </tr>
                 <tr>
                    <td><asp:TextBox ID="txtOwnerID" CssClass="textbox" runat="server" MaxLength="20" 
                            meta:resourcekey="txtOwnerID"></asp:TextBox></td>
                    <td>&nbsp;</td>
                    <td><asp:DropDownList ID="ddlOwnerID" CssClass="selectbox" runat="server" 
                            meta:resourcekey="ddlOwnerID"></asp:DropDownList></td>
                 </tr>
                 
                 <tr>
                         <td>
                            <asp:Label CssClass="label" ID="lblDeliveryOrderType" runat="server" Text="运单类型" 
                                 meta:resourcekey="lblDeliveryOrderType"></asp:Label>
                        </td>
                          <td>
                            &nbsp;
                        </td>
                        <td>
                             &nbsp;
                        </td>
                 </tr>
                 <tr>
                    <td>
                        <%--<asp:TextBox ID="txtDeliveryOrderType" CssClass="textbox" runat="server" MaxLength="20"></asp:TextBox>--%>
                        <asp:DropDownList  ID="ddlDeliveryOrderTypeOper" CssClass="mediumselectbox" 
                            runat="server" meta:resourcekey="ddlDeliveryOrderTypeOper"></asp:DropDownList>
                    </td>
                    <td>&nbsp;</td>
                    <td><asp:DropDownList ID="ddlDeliveryOrderType" CssClass="selectbox" runat="server" 
                            meta:resourcekey="ddlDeliveryOrderType"></asp:DropDownList></td>
                 </tr>
                 
                 <tr>
                         <td>
                            <asp:Label CssClass="label" ID="lblPriority" runat="server" Text="是否加急" 
                                 meta:resourcekey="lblPriority"></asp:Label>
                        </td>
                          <td>
                            &nbsp;
                        </td>
                        <td>
                             &nbsp;
                        </td>
                 </tr>
                 <tr>
                    <td><asp:TextBox ID="txtPriority" CssClass="textbox" runat="server" MaxLength="20" 
                            meta:resourcekey="txtPriority"></asp:TextBox></td>
                    <td>&nbsp;</td>
                    <td><asp:DropDownList ID="ddlPriority" CssClass="selectbox" runat="server" 
                            meta:resourcekey="ddlPriority"></asp:DropDownList></td>
                 </tr>
                 
                 <tr>
                         <td>
                            <asp:Label CssClass="label" ID="lblDeparture" runat="server" Text="出发地" 
                                 meta:resourcekey="lblDeparture"></asp:Label>
                        </td>
                          <td>
                            &nbsp;
                        </td>
                        <td>
                             &nbsp;
                        </td>
                 </tr>
                 <tr>
                    <td><asp:TextBox ID="txtDeparture" CssClass="textbox" runat="server" MaxLength="20" 
                            meta:resourcekey="txtDeparture"></asp:TextBox><img src="../Images/icon_find.gif" alt="select one item" class="img" onclick="selectLocAddr();"/></td></td>
                    <td>&nbsp;</td>
                    <td><asp:DropDownList ID="ddlDeparture" CssClass="selectbox" runat="server" 
                            meta:resourcekey="ddlDeparture"></asp:DropDownList></td>
                 </tr>
                 
                 <tr>
                         <td>
                            <asp:Label CssClass="label" ID="lblDestination" runat="server" Text="目的地" 
                                 meta:resourcekey="lblDestination"></asp:Label>
                        </td>
                          <td>
                            &nbsp;
                        </td>
                        <td>
                             &nbsp;
                        </td>
                 </tr>
                 <tr>
                    <td><asp:TextBox ID="txtDestination" CssClass="textbox" runat="server" 
                            MaxLength="20" meta:resourcekey="txtDestination"></asp:TextBox><img src="../Images/icon_find.gif" alt="select one item" class="img" onclick="selectLocAddr2();"/></td></td>
                    <td>&nbsp;</td>
                    <td><asp:DropDownList ID="ddlDestination" CssClass="selectbox" runat="server" 
                            meta:resourcekey="ddlDestination"></asp:DropDownList></td>
                 </tr>
                 
                 <tr>
                         <td>
                            <asp:Label CssClass="label" ID="lblStatus" runat="server" Text="运单状态" 
                                 meta:resourcekey="lblStatus"></asp:Label>
                        </td>
                          <td>
                            &nbsp;
                        </td>
                        <td>
                             &nbsp;
                        </td>
                 </tr>
                 <tr>
                    <td>
                        <%--<asp:TextBox ID="txtStatus" CssClass="textbox" runat="server" MaxLength="20"></asp:TextBox>--%>
                        <asp:DropDownList ID="ddlStatusOper" CssClass="mediumselectbox" runat="server" 
                            meta:resourcekey="ddlStatusOper"></asp:DropDownList>
                    </td>
                    <td>&nbsp;</td>
                    <td><asp:DropDownList ID="ddlStatus" CssClass="selectbox" runat="server" 
                            meta:resourcekey="ddlStatus"></asp:DropDownList></td>
                 </tr>
                 
                 <tr>
                         <td>
                            <asp:Label CssClass="label" ID="lblTransferType" runat="server" Text="运输方式" 
                                 meta:resourcekey="lblTransferType"></asp:Label>
                        </td>
                          <td>
                            &nbsp;
                        </td>
                        <td>
                             &nbsp;
                        </td>
                 </tr>
                 <tr>
                    <td>
                        <%--<asp:TextBox ID="txtTransferType" CssClass="textbox" runat="server" MaxLength="20"></asp:TextBox>--%>
                        <asp:DropDownList ID="ddlTransferTypeOper" CssClass="mediumselectbox" 
                            runat="server" meta:resourcekey="ddlTransferTypeOper"></asp:DropDownList>    
                    </td>
                    <td>&nbsp;</td>
                    <td><asp:DropDownList ID="ddlTransferType" CssClass="selectbox" runat="server" 
                            meta:resourcekey="ddlTransferType"></asp:DropDownList></td>
                 </tr>
                 
                 <tr>
                         <td>
                            <asp:Label CssClass="label" ID="lblPickupType" runat="server" Text="提货方式" 
                                 meta:resourcekey="lblPickupType"></asp:Label>
                        </td>
                          <td>
                            &nbsp;
                        </td>
                        <td>
                             &nbsp;
                        </td>
                 </tr>
                 <tr>
                    <td>
                        <%--<asp:TextBox ID="txtPickupType" CssClass="textbox" runat="server" MaxLength="20"></asp:TextBox>--%>
                        <asp:DropDownList ID="ddlPickupTypeOper" CssClass="mediumselectbox" 
                            runat="server" meta:resourcekey="ddlPickupTypeOper"></asp:DropDownList>
                    </td>
                    <td>&nbsp;</td>
                    <td><asp:DropDownList ID="ddlPickupType" CssClass="selectbox" runat="server" 
                            meta:resourcekey="ddlPickupType"></asp:DropDownList></td>
                 </tr>
                 
                 <tr>
                         <td>
                            <asp:Label CssClass="label" ID="lblPaymentType" runat="server" Text="付款方式" 
                                 meta:resourcekey="lblPaymentType"></asp:Label>
                        </td>
                          <td>
                            &nbsp;
                        </td>
                        <td>
                             &nbsp;
                        </td>
                 </tr>
                 <tr>
                    <td>
                        <%--<asp:TextBox ID="txtPaymentType" CssClass="textbox" runat="server" MaxLength="20"></asp:TextBox>--%>
                        <asp:DropDownList ID="ddlPaymentTypeOper" CssClass="mediumselectbox" 
                            runat="server" meta:resourcekey="ddlPaymentTypeOper" ></asp:DropDownList>    
                    </td>
                    <td>&nbsp;</td>
                    <td><asp:DropDownList ID="ddlPaymentType" CssClass="selectbox" runat="server" 
                            meta:resourcekey="ddlPaymentType"></asp:DropDownList></td>
                 </tr>
                 
                 <tr>
                         <td>
                            <asp:Label CssClass="label" ID="lblBillingType" runat="server" Text="计费类型" 
                                 meta:resourcekey="lblBillingType"></asp:Label>
                        </td>
                          <td>
                            &nbsp;
                        </td>
                        <td>
                             &nbsp;
                        </td>
                 </tr>
                 <tr>
                    <td>
                        <%--<asp:TextBox ID="txtBillingType" CssClass="textbox" runat="server" MaxLength="20"></asp:TextBox>--%>
                        <asp:DropDownList ID="ddlBillingTypeOper" CssClass="mediumselectbox" 
                            runat="server" meta:resourcekey="ddlBillingTypeOper"></asp:DropDownList>
                    </td>
                    <td>&nbsp;</td>
                    <td><asp:DropDownList ID="ddlBillingType" CssClass="selectbox" runat="server" 
                            meta:resourcekey="ddlBillingType"></asp:DropDownList></td>
                 </tr>
                 
                 <tr>
                         <td>
                            <asp:Label CssClass="label" ID="lblCreateBy" runat="server" Text="创建人" 
                                 meta:resourcekey="lblCreateBy"></asp:Label>
                        </td>
                          <td>
                            &nbsp;
                        </td>
                        <td>
                             &nbsp;
                        </td>
                 </tr>
                 <tr>
                    <td><asp:TextBox ID="txtCreateBy" CssClass="textbox" runat="server" MaxLength="20" 
                            meta:resourcekey="txtCreateBy"></asp:TextBox></td>
                    <td>&nbsp;</td>
                    <td><asp:DropDownList ID="ddlCreateBy" CssClass="selectbox" runat="server" 
                            meta:resourcekey="ddlCreateBy"></asp:DropDownList></td>
                 </tr>
                 
             </table>
        </div>
         
         <div id="div_bottom">
            <table>
                <tr>
                    <td>
                        <asp:Button ID="btnSearch" runat="server" Text="<%$Resources:ButtonResource,btnSearch%>" CssClass="button" 
                            Enabled="False" onclick="btnSearch_Click" 
                             />
                    </td>
                    <td>
                        <asp:Button ID="btnNew" runat="server" Text="<%$Resources:ButtonResource,btnNew%>" CssClass="button" 
                            Enabled="False" 
                            OnClientClick="javascript:window.location.href='DeliveryOrder.aspx?from=query';return false;" 
                             />
                    </td>
                    <td>
                        <asp:Button ID="btnList" runat="server" Text="<%$Resources:ButtonResource,btnList%>" CssClass="button" 
                            Enabled="False" OnClick="btnList_Click" />
                    </td>
                    <td>
                        <asp:Button ID="btnExport" runat="server" Text="<%$Resources:ButtonResource,btnExport%>" CssClass="button" 
                            Enabled="False"  
                            OnClientClick="javascript:window.location.href='DeliveryOrderList.aspx?from=query&export=y';return false;" 
                            />
                    </td>
                </tr>
            </table>
        </div>
            <input id="hdnActionID" type="hidden" runat="server" />
        
    </div>
    </form>
</body>
</html>
